package d1103.One;

public class Son1 extends Fu {
    private String name;
    private int age;

    public Son1() {

    }

    public void son1(){
        //第一行默认有一个super
    }
    public Son1(String name,int age){
        this.name=name;
        this.age=age;
    }
    public int getAge(){
        return age;
    }
    public void setAge(int age ){

    }
    public void say(){
        System.out.println(this.name);
        talent();
    }
}
